package com.gangan.model;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *      科室持久类
 * </p>
 *
 * @author zhengweicheng
 * @since 2019-09-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tl_section")
public class Section implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="自增主键",example="1")
    private Integer id;

    /**
     * 科室名称
     */
    @ApiModelProperty(value="科室名称",example="乳癌科")
    private String department;

    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间",example="2018-04-20 07:15:18")
    private LocalDateTime createtime;

    /**
     * 修改时间
     */
    @ApiModelProperty(value="修改时间",example="2018-04-20 07:15:18")
    private LocalDateTime updatetime;

    /**
     * 逻辑删除标识 0-正常 , 1-删除
     */
    @TableLogic
    @ApiModelProperty(value="逻辑删除标识",example="1")
    private Boolean delFlag;


}
